home *** CD-ROM | disk | FTP | other *** search
/ Aminet 12 / Aminet 12 (1996)(GTI - Schatztruhe)[!][Jun 1996].iso / Aminet / dev / lang / HeliOS2.lha / helios_demo_disk2 / docs / InitialSetup.doc
Encoding:
Text File  |  1995-10-15  |  22.1 KB  |  517 lines

  1.  
  2. Welcome to HeliOS!
  3.  
  4. We hope that you will enjoy using this software, and to help you get
  5. the most out of it we would first like to tell you a little about the
  6. HeliOS support service.
  7.  
  8. HeliOS is a "living" language which is under constant development
  9. and which literally grows with every passing week.  We make any new
  10. developments immediately available to all HeliOS users, and we are
  11. happy to provide a low cost update service so that everyone can get
  12. new material as soon as it is available.
  13.  
  14. Because HeliOS is a new and rapidly expanding language it is in
  15. everyone's interest to register and participate in the HeliOS user
  16. group and the update service.  A community of programmer's can help
  17. each other with shared code and ideas, and Helios Software are always
  18. pleased to help this process by acting as a central "library" for
  19. material submitted by HeliOS programmers.
  20.  
  21. Above all, we want to sustain the creative Amiga programming community
  22. by providing software tools which enhance this excellent computer, and
  23. to do this we need YOUR feedback.  So remember that HeliOS is here for
  24. your benefit, and we are happy to consider adding new features which YOU
  25. suggest and to pass on interesting new ideas between HeliOS users.
  26.  
  27. Enjoy using HeliOS and help us to make this a really creative programming
  28. tool by sharing your ideas and suggestions with us and other programmers.
  29.  
  30. ****************************
  31. Installation and first steps
  32. ****************************
  33.  
  34. You may wish to use the HDInstall program provided to install HeliOS
  35. onto your system, but we will give here a descriptive overview of the
  36. installation for those who wish to do it themselves manually.  It is
  37. always useful, especially to a programmer, to know exactly how your
  38. software is installed.
  39.  
  40. If you use the HDInstall software it will create a directory called
  41. "HeliOS" in your designated path and then make an assign "HeliOS:"
  42. to this directory.  You may wish to do the same, because HeliOS will
  43. always automatically look in the assigned "HeliOS:" path first when
  44. looking for its startup configuration files. (See below)
  45.  
  46. The main program is just a single file and does not absolutely require
  47. ANY special installation, assigns, libraries, or path setting: if you
  48. are really impatient you can just execute the "HeliOS_int" program.
  49.  
  50. For a really simple installation you only need copy the executable to
  51. your chosen path and run it, but we recommend that you perform the full
  52. installation to get the best results from using the software.
  53.  
  54. There are various configuration, macro, and help files which can be
  55. created and used with HeliOS, and although these are not essential for
  56. the initial loading of the program it really is best to install them.
  57.  
  58. There are also precompiled include files which you will probably need,
  59. sooner or later, as well as the various source code and document files.
  60.  
  61. As an initial installation we recommend that you create a HeliOS directory
  62. (and the HeliOS: assign) then copy all the HeliOS files into it, with
  63. subdirectories for "Docs", "Source" etc.
  64.  
  65. The configuration files described below should be placed into the root
  66. "HeliOS:" directory, or into your "S:" directory, as an initial setup. As
  67. you will see, you can always move them later if required.
  68.  
  69. ********************************************
  70. Configuration files and the "HeliOS:" assign
  71. ********************************************
  72.  
  73. At startup time HeliOS looks for various configuration files, to set things
  74. like your preferred user environment and colours etc.  It is important that
  75. you understand that these files are not necessary for the general operation
  76. of HeliOS, but are there to allow you to specify customised settings of
  77. various program parameters.
  78.  
  79. HeliOS looks for these configuration files when it starts up, to check if
  80. you require any custom settings when the software is first loaded.
  81.  
  82. Because you may wish to keep different configuration setting for different
  83. contexts, and because most people like to be in control of where programs
  84. store information, HeliOS allows great flexibility in where you keep your
  85. configuration files.
  86.  
  87. As mentioned above, if you want to keep all your HeliOS files together it
  88. is probably best to create an "Assign" called "HeliOS:" and put all your
  89. HeliOS system and configuration files into this directory.  This "HeliOS:"
  90. directory will, if present, be used at startup time as the PRIMARY default
  91. initial configuration file path.
  92.  
  93. However, HeliOS does also allow you to set up from within the software
  94. separate load paths for most of its configuration files, so once you are
  95. familiar with HeliOS you can change things to suit your own preferences.
  96.  
  97. *****************************
  98. The "HeliOS Environment" file
  99. *****************************
  100.  
  101. The first thing which HeliOS does when it loads is to attempt to find and
  102. load the "HeliOS_Environment" file.  This file contains all the information
  103. necessary for the user-configuration of the software, and also all the path
  104. information for any configuration files stored in user-defined directories.
  105.  
  106. The "HeliOS Environment" file is the most important configuration file
  107. because it actually stores all the initial load path information for all
  108. the other configuration files.  Obviously this "master" configuration file
  109. cannot define its own load path, so HeliOS must look in certain places to
  110. try to find "HeliOS_Environment" before loading anything else.
  111.  
  112. HeliOS will first look for the "HeliOS Environment" file in the assigned
  113. "HeliOS:" directory, and if this fails it will next look in "S:".
  114.  
  115. If both these attempts fail, no "HeliOS_Environment" file will be loaded,
  116. and consequently the HeliOS software will start up with default settings.
  117.  
  118. ******************
  119. Initial load paths
  120. ******************
  121.  
  122. The default settings will cause HeliOS to look for the rest of its initial
  123. configuration files first in the "HeliOS:" and then in the "S:" directory.
  124.  
  125. If you want to store your various configuration files (other than the main
  126. "HeliOS_Environment" file) in directories other than "HeliOS:" or "S:" you
  127. are at liberty to do so.  If you use the options within the software to set
  128. up and save your own default paths for the configuration and include files,
  129. HeliOS will attempt to load the files at startup from your designated paths.
  130.  
  131. If HeliOS fails to load the configuration files from their designated paths
  132. it will always revert to its default action and look first in the assigned
  133. "HeliOS:" directory and then in the "S:" directory for the files.
  134.  
  135. You can have some files in designated directories, some in the "HeliOS:"
  136. directory and some in the "S:" directory if you wish.  In any case where
  137. there is a file with the same name in more than one directory, a file in
  138. a designated directory will take precedence, followed by the "HeliOS:"
  139. directory, followed by"S:".
  140.  
  141. ***************************************
  142. A discussion on the configuration files
  143. ***************************************
  144.  
  145. Here are the default file names for the configuration files which HeliOS
  146. attempts to load at startup:
  147.  
  148. HeliOS_Environment     -> HeliOS environment configuration
  149. HeliOS_MenuText        -> Menu text definition ASCII file
  150. HeliOS_Imagery         -> GUI imagery IFF file
  151.  
  152. HeliOS_KeyTable        -> Command key assignment ASCII file
  153. HeliOS_Colours         -> Colour settings
  154. HeliOS_Macros          -> Default Macros
  155. HeliOS_VocabularyHelp  -> Default Vocabulary Help ASCII file
  156. HeliOS_UserInclude     -> Optional default User include file
  157. HeliOS_AmigaInclude    -> Optional default Amiga include file
  158.  
  159. The first three files are special cases which we shall discuss in a moment,
  160. but you have four choices with respect to installing each of the last six
  161. listed configuration files:
  162.  
  163. 1. Omit the files completely, so that HeliOS retains its default setup.
  164.  
  165. 2. Store them wherever you like and give them each individual path
  166.    assignments and file names from within the software.
  167.  
  168. 3. Store them with the default name in the HeliOS: directory
  169.  
  170. 4. Store them with the default name in the S: directory
  171.  
  172.  
  173. ********************************************
  174. The three "special case" configuration files
  175. ********************************************
  176.  
  177. The three "special case" files are:
  178.  
  179. HeliOS_Environment     -> HeliOS environment configuration
  180. HeliOS_MenuText        -> Menu text definition ASCII file
  181. HeliOS_Imagery         -> GUI imagery IFF file
  182.  
  183. These files are treated as follows.
  184.  
  185. 1.
  186.  
  187. The main "HeliOS_Environment" file is a special case, as we have already
  188. explained, and must always be stored in the "HeliOS:" or "S:" directories
  189. with a fixed filename called "HeliOS_Environment".
  190.  
  191. 2.
  192.  
  193. The "HeliOS_MenuText" file is another special case because it must always
  194. be given the specific name "HeliOS_MenuText" and HeliOS will always try
  195. to load it from the same designated path as the "HeliOS_KeyTable" file.
  196.  
  197. This is because it is mainly used in conjunction with the "HeliOS_Keytable"
  198. file and these two files generally are mutually dependant.
  199.  
  200. If you always put the "HeliOS_MenuText" file in the same directory as the
  201. "HeliOS_KeyTable" file it will be loaded at startup from that directory.
  202. However, if the file cannot be found there, HeliOS will nevertheless still
  203. attempt to load the file on its own from the "HeliOS:" or "S:" directories.
  204.  
  205. In other words the "HeliOS_MenuText" file can only have its directory
  206. designated together with the "HeliOS_KeyTable" file and not individually.
  207.  
  208. 3.
  209.  
  210. The "HeliOS_Imagery" file is a third special case.
  211.  
  212. This file need not be present at all, and in this case HeliOS will simply
  213. use its own internal built-in default imagery.
  214.  
  215. However, if you choose to design your own customised HeliOS GUI imagery,
  216. you can edit the file called "HeliOS_Imagery_See_ReadMe".
  217.  
  218. The file "HeliOS_Imagery_See_ReadMe" contains all the HeliOS GUI imagery
  219. in the form of an IFF picture.
  220.  
  221. This IFF picture may be edited in any art package (such as DPaint) and
  222. changed as required.  Once edited, the file should be saved as an ordinary
  223. IFF file with the same dimensions as the original.
  224.  
  225. If the filename of "HeliOS_Imagery_See_ReadMe" is changed to "HeliOS_Imagery"
  226. and the file is placed in either the "S:" or the "HeliOS:" directory, HeliOS
  227. will pick up its GUI imagery at startup from this "HeliOS_Imagery" IFF file.
  228.  
  229. Since the HeliOS program already contains its own imagery in its standard
  230. form you should not (and do not need to) use the "HeliOS_Imagery" file
  231. unless you wish to use your own different imagery.
  232.  
  233. If you do use the "HeliOS_Imagery" file it will add a short extra delay
  234. to the startup of the HeliOS program as the new graphics are loaded.
  235.  
  236. Remember that if you do choose to edit the HeliOS GUI imagery you must
  237. ensure that all the positions and sizes of the various images must be
  238. retained exactly as in the original: otherwise you will observe jarring
  239. visual misalignments in the GUI graphical imagery when using HeliOS.
  240.  
  241.  
  242. ***********************************************
  243. How to set up your own configuration file paths
  244. ***********************************************
  245.  
  246. You will possibly want to set up your configuration file, user environment,
  247. and path defaults before getting down to using the HeliOS software, so here
  248. is a brief description of how to do this.
  249.  
  250. As we said, there are 6 configuration files which can have their automatic
  251. startup path defaults saved as a simple operation from within HeliOS:
  252.  
  253. HeliOS_KeyTable        -> Command key assignment ASCII file
  254. HeliOS_Colours         -> Colour settings
  255. HeliOS_Macros          -> Default Macros
  256. HeliOS_VocabularyHelp  -> Default Vocabulary Help ASCII file
  257. HeliOS_UserInclude     -> Optional default User include file
  258. HeliOS_AmigaInclude    -> Optional default Amiga include file
  259.  
  260. To set any of these file paths from within HeliOS you merely have to use
  261. the file requester to navigate to the chosen path, then use the menu
  262. option "Save all paths" to preserve your new settings.
  263.  
  264. To use the file requester to set specific paths, simply use either the Load
  265. or the SaveAs options for the particular file you wish to set.  For example,
  266. using "Load colours" or "Save colours as" will set the internal Colour file
  267. default path.  You can then save the new path setting by using the "Save all
  268. paths" menu function.
  269.  
  270. There are options to Load and/or SaveAs each of the above six configuration
  271. files within the HeliOS software, and when you use the Load/SaveAs options
  272. the file requester will always appear preset to the current internally set
  273. default path for the particular category of file. If you then navigate using
  274. the file requester to some other path, this will now be remembered by HeliOS
  275. and the software will have its internal paths set to the last path set in
  276. the requester.
  277.  
  278. You always need to use "Save all paths" if you want HeliOS to remember its
  279. current path settings next time it loads, otherwise the current internal
  280. settings will be lost when you close the program.
  281.  
  282. Note that you can have as many versions of the configuration files as you
  283. wish and selectively load whichever you want to use currently.
  284.  
  285. Remember:
  286.  
  287. You MUST use "Save all paths" in order for your new path settings to be 
  288. remembered the next time HeliOS is at started, and note that this function 
  289. will also save all the Editor paths at the same time.
  290.  
  291. *******
  292. Warning
  293. *******
  294.  
  295. Note that paths can only be set or changed by using the file requester to
  296. do a real operation.  Selecting "Forget it" in the file requester will NOT
  297. result in the path being set.
  298.  
  299.  
  300. *******************************
  301. Saving the HeliOS "Environment"
  302. *******************************
  303.  
  304. Several other options, such as "scroll settings", "default ruler" etc. can
  305. be saved as defaults, and in each case their settings are saved within the
  306. main "HeliOS_Environment" file.
  307.  
  308. Once you have the program running, you may wish to reset many user options
  309. to your own preferences.  If you then select the "Save environment" menu
  310. option, a new user environment file will be saved into your default
  311. startup directory.
  312.  
  313. The next time you load HeliOS your new settings will be loaded at startup
  314. as the defaults.
  315.  
  316. Note that all the user options are distributed within the menu system rather
  317. than collected together in a single requester.  For example, you may set
  318. the editor scrolling speed from within the editor, then set the interpreter
  319. output buffer from the interpreter: both these new settings could then be
  320. preserved together by using the "Save environment" menu option.
  321.  
  322.  
  323. ********************
  324. Quick Save functions
  325. ********************
  326.  
  327. HeliOS has several "Quick Save" options whereby a default configuration
  328. file can be saved without recourse to the file requester.  For example,
  329. "Save Colours" will save the Colour configuration to the default path
  330. without presenting you with the requester.
  331.  
  332. When you use the "Quick Save" functions for any of the configuration files,
  333. they will always be saved into the current default user designated path if
  334. that path is legal.  Otherwise the "HeliOS:" directory will be used if it
  335. is available:, and finally they will be saved into your "S:" directory if
  336. no other option is available.
  337.  
  338.  
  339. *********************
  340. Setting up Menu texts
  341. *********************
  342.  
  343. There is an ASCII file by default called "HeliOS_MenuText" which, if placed
  344. in its default startup directory, will allow you to specify your own Menu
  345. Texts, Key Index text, and the messages associated with the file requester
  346. title bar.
  347.  
  348. This file is easy to edit, and contains simple instructions within itself
  349. for how to do the editing.
  350.  
  351. If this file is not present, default texts will be used.
  352.  
  353. The facility to change menu texts is really necessary only if you have
  354. changed the command key sequences, because in this case the original menu
  355. texts would incorrectly represent your chosen command keys.
  356.  
  357. You may also wish to change the editor "Key Index" menu to include any
  358. information which you find particularly useful: this special menu allows
  359. you to have available from the menu bar a full page of reference text
  360. which can be changed using the "HeliOS_MenuText" file.
  361.  
  362. ************************
  363. Setting up shortcut keys
  364. ************************
  365.  
  366. There is an ASCII file called "HeliOS_KeyTable" which, if placed in the
  367. default startup directory, will allow you to specify all shortcut keys.
  368.  
  369. This is a simple "tabular" file which contains its own editing instructions.
  370.  
  371. If this file is not present, default settings will be used.
  372.  
  373. Shortcut keys can also be "re-bound" from within the software, and at any
  374. time an ASCII "KeyTable" file representing the current key bindings can be
  375. saved either as the default or as a KeyTable file under a chosen name by
  376. using the "Save key table" menu option (in the editor "Options" menu).
  377.  
  378. As well as being able to generate a new KeyTable file containing the current
  379. key commands, you can also re-generate a standard default KeyTable by using
  380. a simple "trick".  To do this simply load HeliOS with no keytable file, or
  381. attempt to load an invalid keytable file: if you do this the default key
  382. bindings will be restored and you can save the standard default KeyTable.
  383.  
  384. *******************************
  385. Setting up include symbol files
  386. *******************************
  387.  
  388. HeliOS uses precompiled include files for extremely fast access to include
  389. symbol values.
  390.  
  391. See the "Include File" documentation for a full detailed discussion of this
  392. powerful HeliOS feature.
  393.  
  394. There are two types of HeliOS "include" symbol files which may be loaded
  395. automatically at startup and retained "on-line" at all times.
  396.  
  397. These files do not need to be kept in any special directory, and their load
  398. paths can be specified from within the software.  This is useful because
  399. you may choose to have several of these files, which can be quite large,
  400. and it is often most appropriate to keep them in the directories where the
  401. programs to which they relate are stored.
  402.  
  403. The "User include" file can have symbols added and removed from within the
  404. HeliOS software, and is intended to be a flexible symbol resource which you
  405. can update as you work on a particular software project.
  406.  
  407. The "Amiga" include is less flexible, and is intended to be a fixed large
  408. symbol base, such as the full set of Amiga include symbols.
  409.  
  410. Both files are identical in format and it is only the "slot" into which
  411. they are loaded which determines how they are used.
  412.  
  413. An Amiga include file containing all the Amiga symbols is provided with
  414. HeliOS, and you will probably wish to have this file loaded automatically
  415. at startup.
  416.  
  417. All HeliOS include files are in a special encrypted format, but they can be
  418. easily loaded and modified within the software.  Alternatively they can be
  419. saved into ASCII format, edited, and then recompiled into the HeliOS include
  420. file format.
  421.  
  422. HeliOS include files can also be specified and loaded from within the code
  423. of your own programs, making them a very flexible symbol resource.
  424.  
  425. **************************
  426. Setting up vocabulary help
  427. **************************
  428.  
  429. HeliOS allows you to define your own on-line vocabulary help on the word
  430. currently under the cursor when Ctrl-Help is pressed.  This works in both
  431. the interpreter and the editor, and is designed to be used as an on-line
  432. dictionary and general purpose reference system.
  433.  
  434. The vocabulary help system also has the facility to auto-load a default
  435. file called "HeliOS_VocabularyHelp" at startup time.  You can also load
  436. a vocabulary help file at any time later from within the HeliOS program.
  437.  
  438. HeliOS comes with an example "HeliOS_VocabularyHelp" file, and this can
  439. be edited and extended in any ASCII editor.  The file itself contains
  440. instructions on how to add your own entries, and we suggest that you load
  441. it into a text editor and try adding some new entries of your own to get
  442. a feel for how the system works.
  443.  
  444. ************************************************************
  445. Setting up HeliOS paths other than the Default Startup paths
  446. ************************************************************
  447.  
  448. There are various load and save functions within HeliOS, and these can
  449. generally have customised default path settings.  This means, for example,
  450. that you can set up the program by default to have each editor using a
  451. different initial path, just as you can have the colour load path set to
  452. wherever you want to keep your colour config files.
  453.  
  454. The editor paths, like the config file paths, may be saved complete with
  455. filenames, so you can start up HeliOS, go into one of the editors, and find
  456. the file requester all set up with the name of your file ready to load.
  457.  
  458. To change and save any of the default paths you use the same method:
  459.  
  460. 1. First use Load/SaveAs for all the functions you wish to configure, thus
  461.    setting the current file requester paths to your chosen ones.
  462.  
  463.    For example, you should go into all the editors and load or save a file
  464.    to set up the path, then use the colour, macro and other save functions
  465.    to set up these paths etc.
  466.  
  467. 2. Having set all the paths to your liking you can use a menu option from
  468.    the editor or interpreter to "Save all paths".
  469.  
  470.    This will copy the current paths into the user configuration file and
  471.    save that file as the default startup.
  472.  
  473.    All your newly set paths will from now on be loaded at startup.
  474.  
  475. Note again that:
  476.  
  477. Paths can only be set or changed by using the file requester to do a
  478. real operation.  Selecting "Forget it" in the file requester will not
  479. result in the path being set.
  480.  
  481. These are the initial default path and filename settings of all the
  482. configurable paths:
  483.  
  484. Colours          'HeliOS:HeliOS_Colours'
  485. KeyTable         'HeliOS:HeliOS_KeyTable'
  486. Environment      'HeliOS:HeliOS_Environment'
  487. Macros           'HeliOS:HeliOS_Macros'
  488. Vocabulary Help  'HeliOS:HeliOS_VocabularyHelp'
  489. User Include     'HeliOS:HeliOS_UserInclude'
  490. Amiga Include    'HeliOS:HeliOS_AmigaInclude'
  491. General          'Sys:'
  492. PreLoad/PreSave  'Sys:'
  493. Editor 1         'Sys:'
  494. Editor 2         'Sys:'
  495. Editor 3         'Sys:'
  496. "OUT" Editor     'Sys:'
  497.  
  498. ***************
  499. Getting Started
  500. ***************
  501.  
  502. Once you have installed HeliOS you should run the program and go into
  503. Editor1 by pressing the "Ed 1" button.
  504.  
  505. Once you are in Editor 1 you will see a small red and white triangular
  506. gadget in the header bar: this is the "Quick Load" button.
  507.  
  508. Use this Quick Load button or the menu "Load file" option to load a file,
  509. and you should find the file requester already preset to "Tutorial.Doc"
  510. (assuming that the installation was "correct"!).
  511.  
  512. Load the "Tutorial.Doc" and proceed from there!
  513.  
  514. *****************************************************************************
  515. End
  516. *****************************************************************************
  517.